package com.sc.ktapplication.module.activity

import android.os.Bundle
import androidx.activity.viewModels
import com.sc.ktapplication.R
import com.sc.ktapplication.common.base.BaseActivity
import com.sc.ktapplication.module.entity.AppUser
import kotlinx.android.synthetic.main.activity_user.*

class UserActivity : BaseActivity() {

    private var appUser : AppUser ?=null

    private val viewModel by viewModels<UserViewModel>()

    override fun getLayoutId(): Int {
        return R.layout.activity_user
    }

    override fun showErrorMsg() {
        showErrorMsg(container,viewModel)
    }

    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)

        appUser = intent.getSerializableExtra(AppUser.KEY) as AppUser?
        renderUI()
    }

    private fun renderUI(){
    }


}
